package org.tigr.htc.server.condor;

/*
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
*/

import org.tigr.htc.cmd.Command;
import org.tigr.htc.server.IJobMonitor;

/**
 * The <b>CondorJobMonitor</b> class - is a utility class that is used to monitor one or
 * more jobs submitted to Condor. This class monitors all the jobs that have
 * been registered with this class for monitoring. When the runner submits a job it 
 * registers the job id and when the job is finished the id is removed from the monitored list.
 * This class periodically monitors the status of the jobs and caches the status
 * at the specified frequency.
 *
 */

public class CondorJobMonitor implements IJobMonitor {

	public boolean hold(Command cmd) throws Exception {
		// TODO Implement
		return false;
	}

	public void register(String jobid, Command cmd) {
		// TODO Implement
	}

	public boolean resume(Command cmd) throws Exception {
		// TODO Implement
		return false;
	}

	public void setActive(boolean active) {
		// TODO Implement
	}

	public boolean stop(Command cmd) throws Exception {
		// TODO Implement
		return false;
	}

	public void run() {
		// TODO Implement

	}
}
